package com.katze.boot.system.domain;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("city")
@ExcelIgnoreUnannotated
public class City implements Serializable {
    private static final long serialVersionUID = -4852732617765810959L;

    @TableId(value = "CITY_ID", type = IdType.AUTO)
    private Long  cityId;
    /**
     *  城市名称
     */
    @ExcelProperty(value = "城市名称")
    private String cityName;
    /**
     *  城市简介
     */
    @ExcelProperty(value = "城市简介")
    private String introduce;
    /**
     *  经度
     */
    @ExcelProperty(value = "经度")
    private String longitude;
    /**
     *  纬度
     */
    @ExcelProperty(value = "纬度")
    private String latitude;


    private Date createTime;

    private Long creator;
}
